import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {DsComponent} from './ds.component';
import {DsAddComponent} from './ds-add/ds-add.component';
import {DsUpdateComponent} from './ds-update/ds-update.component';

const routes: Routes = [
  {
    path: '',
    component: DsComponent
  },
  {
    path: 'add',
    component: DsAddComponent
  },
  {
    path: 'update',
    component: DsUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DsRoutingModule { }
